The phrase "to pitch a tent" means setting up a tent by securing it to the ground using stakes, poles, and ropes.